import java.io.*;
import compiladores.*;

public class Teste {
	public static void main(String[] args) throws ExisteException {

        Tabela tabela = new Tabela();

        tabela.add(new Simbolo("teste2","-","prog"));
        tabela.sobeNivel();
        tabela.add(new Simbolo("a","int","var"));
		tabela.sobeNivel();
		tabela.add(new Simbolo("a","int","var"));
        tabela.add(new Simbolo("b","int","var"));
        tabela.printTabela();
        tabela.desceNivel();
        tabela.printTabela();
        tabela.desceNivel();
		tabela.printTabela();
        tabela.desceNivel();


	}
}
